<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
	<style type="text/css">
		div{
			width: 200px;
			height: 200px;
			background: pink;
			transition: all 0.5s;
		}
		div:hover{
/*			transform: rotate3d(x,y,z,度数)
				0:不旋转
				1:旋转*/
/*			transform: rotate3d(1, 1, 1, 45deg);*/
			transform: perspective(100px) translateZ(10px);
		}
	</style>
</head>
<body>
	<div></div>
</body>
</html>